
import 'package:uuid/uuid.dart';

class HDSysUtils {


 static String generateReadableUUID() {
  //return new DateTime.now().millisecondsSinceEpoch.toString();//
  return Uuid().v4().toString();
 }

 ///数组拷贝
static List copyWithList(List list) {
  List copyList = [];
  for (var item in list) {
   if (item is Map) {
    copyList.add(Map.from(item));
   } else if (item is List) {
    copyList.add(copyWithList(item));
   } else {
    copyList.add(item);
   }
  }
   return copyList;
 }

}